package com.longe.controller;

import com.longe.dto.UserDTO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class IndexController {

    @RequestMapping("index")
    public Map<String, String> index(UserDTO userDTO){

        Map<String, String> map = new HashMap<>();
        map.put("key", "value");
        return map;
    }

}
